import { request } from '@api/service'

export const fetchView = () => {
  return request({
    url: '/setting/index',
    method: 'get'
  })
}

export const edit = (data) => {
  return request({
    url: '/setting/save',
    method: 'post',
    data
  })
}
